/*
 * @Description: 
 * @Author: fograin4
 * @Date: 2023-09-06 11:05:21
 * @LastEditTime: 2023-11-08 17:39:10
 * @LastEditors: fograin4
 * @Reference: 
 */
import api from '../utils/request'

// 状态类型添加
export const insertStatueMould = (method:any, params:any, data:any) => api({
  url: '/api/insert_statue_mould',
  method,
  params,
  data
})

// 添加状态
export const insertStatue = (method:any, params:any, data:any) => api({
  url: '/api/insert_statue',
  method,
  params,
  data
})

// 获取状态编辑器左侧列表数据
export const getStatue = (method:any, params:any, data:any) => api({
  url: '/api/get_status',
  method,
  params,
  data
})

// 获取所有状态数据
export const getAllStatus = (method:any, params:any, data:any) => api({
  url: '/api/get_all_status',
  method,
  params,
  data
})

// 状态删除
export const removeStatus = (method:any, params:any, data:any)=>api({
  url:'/api/remove_statue',
  method,
  params,
  data
})

// 状态删除
export const removeStatueMould = (method:any, params:any, data:any)=>api({
  url:'/api/remove_statue_mould',
  method,
  params,
  data
})

// 资源新增
export const create=(method:any,params:any,data:any)=>api({
  url:'/res/create',
  method,
  params,
  data
})

// 资源获取
export const get=(method:any,params:any,data:any)=>api({
  url:'/res/get',
  method,
  params,
  data
})
